Optimal. Leaf size=26 \[ -\frac {\sqrt {1-a^2 x^2}}{a}+x \text {ArcCos}(a x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {4716, 267}
\begin {gather*} x \text {ArcCos}(a x)-\frac {\sqrt {1-a^2 x^2}}{a} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 267
Rule 4716
Rubi steps
\begin {align*} \int \cos ^{-1}(a x) \, dx &=x \cos ^{-1}(a x)+a \int \frac {x}{\sqrt {1-a^2 x^2}} \, dx\\ &=-\frac {\sqrt {1-a^2 x^2}}{a}+x \cos ^{-1}(a x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 26, normalized size = 1.00 \begin {gather*} -\frac {\sqrt {1-a^2 x^2}}{a}+x \text {ArcCos}(a x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 27, normalized size = 1.04
method | result | size |
derivativedivides | \(\frac {a x \arccos \left (a x \right )-\sqrt {-a^{2} x^{2}+1}}{a}\) | \(27\) |
default | \(\frac {a x \arccos \left (a x \right )-\sqrt {-a^{2} x^{2}+1}}{a}\) | \(27\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.47, size = 26, normalized size = 1.00 \begin {gather*} \frac {a x \arccos \left (a x\right ) - \sqrt {-a^{2} x^{2} + 1}}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.56, size = 26, normalized size = 1.00 \begin {gather*} \frac {a x \arccos \left (a x\right ) - \sqrt {-a^{2} x^{2} + 1}}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.06, size = 24, normalized size = 0.92 \begin {gather*} \begin {cases} x \operatorname {acos}{\left (a x \right )} - \frac {\sqrt {- a^{2} x^{2} + 1}}{a} & \text {for}\: a \neq 0 \\\frac {\pi x}{2} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 26, normalized size = 1.00 \begin {gather*} \frac {a x \arccos \left (a x\right ) - \sqrt {-a^{2} x^{2} + 1}}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 24, normalized size = 0.92 \begin {gather*} x\,\mathrm {acos}\left (a\,x\right )-\frac {\sqrt {1-a^2\,x^2}}{a} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________